package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class TmcUserFeeL extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long publicuserId;

    /** 房屋ID */
    @Excel(name = "房屋ID")
    private Long houseinfoId;

    /** 费用日期，月份 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "费用日期，月份", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date billDate;

    /** 总金额，单位分 */
    @Excel(name = "总金额，单位分")
    private Long totalFee;

    /** 支付状态。0未支付，1微信支付，2线下支付 */
    @Excel(name = "支付状态。0未支付，1微信支付，2线下支付")
    private Long paystate;

    /** 社区ID */
    @Excel(name = "社区ID")
    private Long companyId;

    /**创建时间*/
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPublicuserId(Long publicuserId)
    {
        this.publicuserId = publicuserId;
    }

    public Long getPublicuserId()
    {
        return publicuserId;
    }
    public void setHouseinfoId(Long houseinfoId)
    {
        this.houseinfoId = houseinfoId;
    }

    public Long getHouseinfoId()
    {
        return houseinfoId;
    }
    public void setBillDate(Date billDate)
    {
        this.billDate = billDate;
    }

    public Date getBillDate()
    {
        return billDate;
    }
    public void setTotalFee(Long totalFee)
    {
        this.totalFee = totalFee;
    }

    public Long getTotalFee()
    {
        return totalFee;
    }
    public void setPaystate(Long paystate)
    {
        this.paystate = paystate;
    }

    public Long getPaystate()
    {
        return paystate;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("publicuserId", getPublicuserId())
                .append("houseinfoId", getHouseinfoId())
                .append("billDate", getBillDate())
                .append("totalFee", getTotalFee())
                .append("paystate", getPaystate())
                .append("createtime", getCreatetime())
                .append("companyId", getCompanyId())
                .toString();
    }
}